package com.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.AlipayMapper;
import com.model.Alipay;

@Service("alipayService")
public class AlipayServiceImpl implements AlipayServiceI {

	private AlipayMapper alipayMapper;

	public AlipayMapper getAlipayMapper() {
		return alipayMapper;
	}

	@Autowired
	public void setAlipayMapper(AlipayMapper alipayMapper) {
		this.alipayMapper = alipayMapper;
	}

	@Override
	public Alipay getAlipayByAlipayid(Integer aplipayid) {
		// TODO Auto-generated method stub
		return alipayMapper.selectByPrimaryKey(aplipayid);
	}

}
